package com.sigmatrix.h5.service.db;

import java.util.List;

import org.springframework.stereotype.Service;

import com.sigmatrix.h5.entity.v2.DisRolePermission;
import com.sigmatrix.h5.mapper.DisRolePermissionMapper;
import com.sigmatrix.h5.service.v2.CommonDBService;


@Service
public class DisRolePermissionDBService extends CommonDBService<DisRolePermissionMapper, DisRolePermission> {

	/**
	 * 根据roleId 获取DisRolePermission
	 * @param roleId
	 * @return List
	 */
	public List<DisRolePermission> findByRoleIds(List<Integer> roleIds){
		return baseMapper.findByRoleIds(roleIds);
	}
}
